<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/



Route::group(['namespace'=>'App\Http\Controllers\Api\Auth','prefix'=>'api'],function(){

    Route::any('auth/get_token','AuthController@index');

});

Route::group(['namespace'=>'App\Http\Controllers\Api\Report','middleware'=>['WebAuth','LoginVerify']],function(){

    Route::any('api/v1/report/get_tags','ReportController@getReportTags');

    Route::post('api/v1/report/upload','ReportController@report');

});
